Optimal. Leaf size=43 \[ \sqrt{\frac{3}{2}} \sqrt{1-2 x} \sqrt{2 x+1} x+\frac{1}{2} \sqrt{\frac{3}{2}} \sin ^{-1}(2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0057703, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {38, 41, 216} \[ \sqrt{\frac{3}{2}} \sqrt{1-2 x} \sqrt{2 x+1} x+\frac{1}{2} \sqrt{\frac{3}{2}} \sin ^{-1}(2 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 38
Rule 41
Rule 216
Rubi steps
\begin{align*} \int \sqrt{3-6 x} \sqrt{2+4 x} \, dx &=\sqrt{\frac{3}{2}} \sqrt{1-2 x} x \sqrt{1+2 x}+3 \int \frac{1}{\sqrt{3-6 x} \sqrt{2+4 x}} \, dx\\ &=\sqrt{\frac{3}{2}} \sqrt{1-2 x} x \sqrt{1+2 x}+3 \int \frac{1}{\sqrt{6-24 x^2}} \, dx\\ &=\sqrt{\frac{3}{2}} \sqrt{1-2 x} x \sqrt{1+2 x}+\frac{1}{2} \sqrt{\frac{3}{2}} \sin ^{-1}(2 x)\\ \end{align*}
Mathematica [A] time = 0.009989, size = 30, normalized size = 0.7 \[ \frac{1}{2} \sqrt{\frac{3}{2}} \left (2 \sqrt{1-4 x^2} x+\sin ^{-1}(2 x)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.003, size = 70, normalized size = 1.6 \begin{align*} -{\frac{1}{12}\sqrt{2+4\,x} \left ( 3-6\,x \right ) ^{{\frac{3}{2}}}}+{\frac{1}{4}\sqrt{3-6\,x}\sqrt{2+4\,x}}+{\frac{\arcsin \left ( 2\,x \right ) \sqrt{6}}{4}\sqrt{ \left ( 2+4\,x \right ) \left ( 3-6\,x \right ) }{\frac{1}{\sqrt{3-6\,x}}}{\frac{1}{\sqrt{2+4\,x}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.48093, size = 30, normalized size = 0.7 \begin{align*} \frac{1}{2} \, \sqrt{-24 \, x^{2} + 6} x + \frac{1}{4} \, \sqrt{6} \arcsin \left (2 \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.46261, size = 159, normalized size = 3.7 \begin{align*} \frac{1}{2} \, \sqrt{4 \, x + 2} x \sqrt{-6 \, x + 3} - \frac{1}{4} \, \sqrt{3} \sqrt{2} \arctan \left (\frac{\sqrt{3} \sqrt{2} \sqrt{4 \, x + 2} \sqrt{-6 \, x + 3}}{12 \, x}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 5.52426, size = 187, normalized size = 4.35 \begin{align*} \begin{cases} - \frac{\sqrt{6} i \operatorname{acosh}{\left (\sqrt{x + \frac{1}{2}} \right )}}{2} + \frac{\sqrt{6} i \left (x + \frac{1}{2}\right )^{\frac{5}{2}}}{\sqrt{x - \frac{1}{2}}} - \frac{3 \sqrt{6} i \left (x + \frac{1}{2}\right )^{\frac{3}{2}}}{2 \sqrt{x - \frac{1}{2}}} + \frac{\sqrt{6} i \sqrt{x + \frac{1}{2}}}{2 \sqrt{x - \frac{1}{2}}} & \text{for}\: \left |{x + \frac{1}{2}}\right | > 1 \\\frac{\sqrt{6} \operatorname{asin}{\left (\sqrt{x + \frac{1}{2}} \right )}}{2} - \frac{\sqrt{6} \left (x + \frac{1}{2}\right )^{\frac{5}{2}}}{\sqrt{\frac{1}{2} - x}} + \frac{3 \sqrt{6} \left (x + \frac{1}{2}\right )^{\frac{3}{2}}}{2 \sqrt{\frac{1}{2} - x}} - \frac{\sqrt{6} \sqrt{x + \frac{1}{2}}}{2 \sqrt{\frac{1}{2} - x}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.06266, size = 51, normalized size = 1.19 \begin{align*} \frac{1}{2} \, \sqrt{3} \sqrt{2}{\left (\sqrt{2 \, x + 1} x \sqrt{-2 \, x + 1} + \arcsin \left (\frac{1}{2} \, \sqrt{2} \sqrt{2 \, x + 1}\right )\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]